<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='login.css') }}">
</head>
<body>
    <div class="login-container">
        <div class="login-box">
            <h2>登录</h2>
            <form id="loginForm" method="post">
                <div class="input-group">
                    <label for="username">用户名</label>
                    <input type="text" id="username" name="username" required>
                </div>
                <div class="input-group">
                    <label for="password">密码</label>
                    <input type="password" id="password" name="password" required>
                    <span style="color:red;">{{ error }}</span>
                </div>
                <button type="submit">登录</button>
            </form>
            <p>没有账号？<a href="#">注册</a></p>
        </div>
    </div>
    <script src="script.js"></script>
</body>
{#<!--<script src="{{ url_for('static', filename='login.js') }}"></script>-->#}
</html>